package com.glamour.hlcity.component.framework.common;


import java.util.HashMap;
import java.util.Map;

/**
 * 观察者模式中被观察者传递给观察者的上下文内容，也是信息的载体
 * @author zhaoxing.liuzx
 */
public class NotifyObject {
	//申请单编号
	public final static String APPLY_SEQNO="applySeqno";
	
	//业务编码
	public final static String BIZ_NO="bizNO";
	/**
	 * 消息提醒数据
	 */
	private Map<String,Object> map=new HashMap<String, Object>();
	
	private NotifyEnum notifyEnum;

	public NotifyObject put(String key,Object obj){
		map.put(key, obj);
		return this;
	}
	
	public Map<String,Object> asMap(){
		return map;
	}

	public NotifyEnum geNotifyEnum() {
		return notifyEnum;
	}

	public void setNotifyEnum(NotifyEnum notifyEnum) {
		this.notifyEnum = notifyEnum;
	}
	

}
